using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Cursosycausas.Mvc.Models
{
    public class Tbl_Aula
    {
        public Tbl_Aula()
        {
            this.Aulas_Materias = new List<Tbl_Aulas_Materias>();
            this.Aulas_Usuarios = new List<Tbl_Aulas_Usuarios>();
        }
        [Key]
        public long Id_Tbl_Aulas { get; set; }
        public string Nombre { get; set; }
        public Nullable<long> IdEncargado { get; set; }
        public Nullable<long> IdEncargado2 { get; set; }
        public Nullable<bool> Privada { get; set; }
        public Nullable<bool> PermitirApuntarse { get; set; }
        public Nullable<bool> Eliminado { get; set; }
        public Nullable<System.DateTime> Timestamp { get; set; }
        public virtual ICollection<Tbl_Aulas_Materias> Aulas_Materias { get; set; }
        public virtual ICollection<Tbl_Aulas_Usuarios> Aulas_Usuarios { get; set; }
    }
}
